package com.donleo.ssm.dao;

import com.donleo.ssm.model.UserModel;

import java.util.List;

/**
 * @author liangd
 * date 2020-11-17 16:43
 * code
 */
public interface IUserMapper {
    List<UserModel> findAll();

    UserModel findById(Integer id);

    List<UserModel> findAllBySome(UserModel userModel);

    Integer add(UserModel userModel);

    Integer delete(Integer id);

    Integer deletes(List<Integer> ids);

    Integer update(UserModel userModel);
}
